package com.oaker.hours.doman.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;
import lombok.Data;

/**
 * 人员动向管理表
 * @TableName sys_person_trend
 */
@TableName(value ="sys_person_trend")
@Data
public class SysPersonTrend implements Serializable {


    private int trendId;

    private Long userId;

    /**
     * 项目id
     */
    private Long projectId;

    /**
     * 风险操作
     */
    private String dangerAct;

    /**
     * 管理者操作
     */
    private String managerAct;

    /**
     * 动向时间
     */
    private LocalDate date;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;


    @Override
    public String toString() {
        return "SysPersonTrend{" +
                "userId=" + userId +
                ", projectId=" + projectId +
                ", dangerAct='" + dangerAct + '\'' +
                ", managerAct='" + managerAct + '\'' +
                ", date=" + date +
                '}';
    }
}